<template>
  <div>
    <h3>消息订阅与发布</h3>
    <hr>
    <School></School>
    <hr>
    <Student></Student>
  </div>
</template>

<script>
import School from "./components/School.vue";
import Student from "./components/Student.vue";

export default {
  name:"App",
  components:{
    School,
    Student
  },
  methods: {
    getSchollName(name){
      console.log('App接收到的参数是',name)
    },
    getStudentName(name) {
      console.log('App接收到的参数是',name)
    }
  },
  mounted() {
    
  },
}
</script>